//
//  HeadImgCell.m
//  TheRoadAD
//
//  Created by baixue on 16/8/17.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "HeadImgCell.h"

@implementation HeadImgCell



-(void)drawRect:(CGRect)rect{
    _headImg.layer.cornerRadius = _headImg.frame.size.height/2;
    _headImg.layer.masksToBounds = YES;
    _attributesLable.font = [UIFont fontWithName:@"qingyuan" size:14.0f];
    
    _attributesTF.font = [UIFont fontWithName:@"qingyuan" size:14.0f];
    [_attributesTF setValue:[UIFont fontWithName:@"qingyuan" size:14.0] forKeyPath:@"_placeholderLabel.font"];
    
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapHeadImg)];
    [_headImg addGestureRecognizer:tap];
    
}

-(void)tapHeadImg{
    _DidHeadImg();
}


@end
